package com.kinghunt.misp.common.enums.userx;

import lombok.Getter;

/**
 * 用户角色枚举
 */
public enum RoleEnum {
    WB_ADMIN(1L, "wb_admin", "万博超级管理员"),
    WB_SYS(2L, "wb_sys", "万博系统管理员"),
    ORG_ADMIN(3L, "org_admin", "机构管理员"),
    ORG_TCH(4L, "org_tch", "读者-老师"),
    ORG_STU(5L, "org_stu", "读者-学生"),
    ORG_IP(6L, "org_ip", "机构IP免登录");


    /**
     * 角色ID
     */
    @Getter
    private Long id;

    /**
     * 角色code
     */
    @Getter
    private String code;

    /**
     * 角色名称
     */
    @Getter
    private String name;

    RoleEnum(Long id, String code, String name) {
        this.id = id;
        this.code = code;
        this.name = name;
    }


}
